package com.ouyu.tech.ifelsereplace.test;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;
@ConditionalOnProperty(prefix = "condition.enum",value = "mark")
@ConfigurationProperties(prefix = "condition.enum")
public class DataEnum {
    private Map<String,String> condition;
    private String mark;

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public Map<String, String> getCondition() {
        return condition;
    }

    public void setCondition(Map<String, String> condition) {
        this.condition = condition;
    }
}
